package com.navi168.fwq21.monitoring;

import com.navi168.fwq21.R;
import com.navi168.fwq21.util.MainPage;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Monitoring extends Activity {

	private Button ssjk;
	private Button gjfh;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.member_index);

		findviews();
		setliseters();
	}

	private void setliseters() {
		ssjk.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				Intent it = new Intent(Monitoring.this, Monit.class);
				startActivity(it);

			}
		});

		gjfh.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				Intent it = new Intent(Monitoring.this, TrackIndex.class);
				startActivity(it);

			}
		});

	}

	private void findviews() {
		ssjk = (Button) findViewById(R.id.ssjk);
		gjfh = (Button) findViewById(R.id.gjhf);

	}

}
